package com.lagou.zxy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.transaction.jta.JtaAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EntityScan(basePackages = "com.lagou.zxy.entity")
@EnableTransactionManagement
public class LagouShardingApplication {

    public static void main(String[] args) {
        SpringApplication.run(LagouShardingApplication.class, args);
    }

}
